﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Heng.Elements.Core.Model.Infrastructure.Entities
{
    /// <summary>
    /// Interface implemented by an entity.
    /// A entity class is also considered a DTO.
    /// </summary>
    public interface IEntity
    {
        #region Properties
        long Id { get; set; }
        Guid Code { get; set; }
        DateTime DateCreated { get; set; }
        DateTime? DateModified { get; set; }
        #endregion
    }
}
